home *** CD-ROM | disk | FTP | other *** search
- *** ./visudo.c Mon Jan 12 20:48:58 1998
- --- ../sudo.v1.5.4/./visudo.c Sat May 2 02:32:39 1998
- ***************
- *** 222,228 ****
- */
- if (strlen(Editor) + strlen(stmp) + 30 > sizeof(buf)) {
- (void) fprintf(stderr, "%s: Buffer too short (line %d).\n",
- ! __LINE__, Argv[0]);
- Exit(-1);
- }
- if (parse_error == TRUE)
- --- 222,228 ----
- */
- if (strlen(Editor) + strlen(stmp) + 30 > sizeof(buf)) {
- (void) fprintf(stderr, "%s: Buffer too short (line %d).\n",
- ! Argv[0], __LINE__);
- Exit(-1);
- }
- if (parse_error == TRUE)
- ***************
- *** 273,280 ****
- /* parse the sudoers file */
- if (yyparse() && parse_error != TRUE) {
- (void) fprintf(stderr,
- ! "%s: Failed to parse temporary file (%s), unknown error.\n",
- ! Argv[0], stmp, sudoers);
- parse_error = TRUE;
- }
- } else {
- --- 273,280 ----
- /* parse the sudoers file */
- if (yyparse() && parse_error != TRUE) {
- (void) fprintf(stderr,
- ! "%s: Failed to parse temporary %s file (%s), unknown error.\n",
- ! Argv[0], sudoers, stmp);
- parse_error = TRUE;
- }
- } else {
-